package com.dotflat.physicalevaluate.vo;

import lombok.Data;

import java.io.Serializable;

/**
 * 测量标准
 */
@Data
public class MeasureVO  implements Serializable {

    private String dimensionId;

    private Integer gender;

    private Integer reserveLow;

    private Integer reserveHigh;

    private String unit;

    private Integer measureLow;

    private Integer measureHigh;

    private String value;

    private Integer rank;

    private String remark;

    private String passResult;

    private String failResult;

    private String advise;

    public static MeasureVO of(String dimensionId, Integer gender, Integer reserveLow, Integer reserveHigh, String unit, Integer measureLow, Integer measureHigh, String value, Integer rank){
        MeasureVO ret = new MeasureVO();

        ret.setDimensionId(dimensionId);
        ret.setGender(gender);
        ret.setReserveLow(reserveLow);
        ret.setReserveHigh(reserveHigh);
        ret.setUnit(unit);
        ret.setMeasureLow(measureLow);
        ret.setMeasureHigh(measureHigh);
        ret.setValue(value);
        ret.setRank(rank);

        return ret;
    }
}